#ifndef QUERIES_H
#define QUERIES_H
QString Brute4Qt::mainQuery =
        "for $x at $i in doc($inputDocument)/TestCase/TestFunction/Incident "
        "return if ($x/@type=\"pass\") then "
        "<tr bgcolor=\"#00f700\"><pass> <td><nr>{$i}:</nr></td> <td><function_name>{data($x/../@name)}</function_name></td> <td><result>Passed </result></td> <td><case>                  </case></td> <td><description></description></td><td> - </td><td>-</td> <td><line>                </line></td></pass></tr>  else "
        "<tr bgcolor=\"#f70000\"><fail> <td><nr>{$i}:</nr></td> <td><function_name>{data($x/../@name)}</function_name></td> <td><result>Failed </result></td> <td><case>{data($x/DataTag)}</case></td> <td><description>{data($x/Description)}</description></td> <td><line>{data($x/@line)}</line></td></fail></tr>";

QString Brute4Qt::benchmarkQuery =
        "for $x in doc($inputDocument)/TestCase/TestFunction/BenchmarkResult "
        "return <tr bgcolor=\"#00f700\"> <td><name>{data($x/../@name)}</name></td> <td><metric>{data($x/@metric)}</metric></td>"
        "<td><iterations>{data($x/@iterations)}</iterations></td>"
        "<td><value>{data($x/@value)}</value></td>"
        "<td><msecPerIteration>{(data($x/@value) div data($x/@iterations))}</msecPerIteration></td></tr>";

QString Brute4Qt::mainTable =
        "<table border=\"1\" cellpadding=\"2\" cellspacing=\"0\">"
        "<thead>"
        "<tr align=\"center\">"
        "<td><b>Number</b></td>"
        "<td><b>Test</b></td>"
        "<td><b>Incident</b></td>"
        "<td><b>Name</b></td>"
        "<td><b>Description</b></td>"
        "<td><b>Actual</b></td>"
        "<td><b>Expected</b></td>"
        "<td><b>Line</b></td>"
        "</tr>"
        "</thead>";

QString Brute4Qt::benchmarkTable =
        "<table border=\"1\" cellpadding=\"2\" cellspacing=\"0\">"
        "<thead>"
        "<tr align=\"center\">"
        "<td><b>Name</b></td>"
        "<td><b>Metric</b></td>"
        "<td><b>Iterations</b></td>"
        "<td><b>Value</b></td>"
        "<td><b>mSec per Iteration</b></td>"
        "</tr>"
        "</thead>";
#endif // QUERIES_H
